<!DOCTYPE html>
<head>
	<title>marquee</title>
	<link rel="stylesheet" type="text/css" href="style.css">
	<script type="text/javascript" src="jquery-3.2.0.js"></script>
	<script type="text/javascript" src="scrolloop.js"></script>
	</head>
<body>
	<div id="counter" class="wrap">
		<ul>
			<li>1</li>
			<li>2</li>
			<li>3</li>
		</ul>
	</div>
	<script type="text/javascript">
		loopScrollTop('counter',3);
	</script>
</body>
</html>